[IA64] set_metaphysical_mode fix
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Wed, 29 Mar 2006 19:41:33 +0000 (12:41 -0700)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Wed, 29 Mar 2006 19:41:33 +0000 (12:41 -0700)
commitcbe13f6dc4162c89e0c5299cc81ac11e3613213f
tree9812aa18a42db214b9249503c0c15f2042de2718
parent2bfb7dbc4e1129560434984595296a60c297e65c
[IA64] set_metaphysical_mode fix

If the old mode is metaphysical mode and the new mode is
virtual mode. set_one_rr(0, PSCB(vcpu,rrs[0]) will not
set machine region register 0, because at this time,
PSCB(vcpu,metaphysical_mode) is 1, VMM need to update
metaphysical_mode first, then call set_one_rr.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
xen/arch/ia64/xen/vcpu.c